package com.lbs.jiepiaisi.bean;

import java.io.Serializable;

/**
 *
 * 时间：2017/8/7 15:11
 * 作用：用户信息实体类
 */

public class UserEntity  implements Serializable {
    /**
     * 部门id
     */
    private int deptId;
    /**
     * userId
     */
    private int userId;
    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 车主姓名
     */
    private String ownerName;

    /**
    * 设备号
    * */
    private String eqNo;

    /**
     * 用户状态
     * */
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getParentDeptId() { return parentDeptId; }

    public void setParentDeptId(String parentDeptId) { this.parentDeptId = parentDeptId; }

    public String parentDeptId;

    public String getEqNo() {
        return eqNo;
    }

    public void setEqNo(String eqNo) {
        this.eqNo = eqNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 账号（账号登录方式）
     */

    private String account_number;
    /**
     * 密码（账号登录方式）
     */
    private String account_password;
    /**
     * 状态
     */
    private int code;

    /**
     * 坐标
     */
    private Point point;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getAccount_number() {
        return account_number;
    }

    public void setAccount_number(String account_number) {
        this.account_number = account_number;
    }

    public String getAccount_password() {
        return account_password;
    }

    public void setAccount_password(String account_password) {
        this.account_password = account_password;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public Point getPoint() {
        return point;
    }

    public void setPoint(Point point) {
        this.point = point;
    }

    public static class Point implements Serializable{
        private float dir;
        private double lat;
        private double lng;
        private String positionTime;

        public float getDir() {
            return dir;
        }

        public void setDir(float dir) {
            this.dir = dir;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(double lng) {
            this.lng = lng;
        }

        public String getPositionTime() {
            return positionTime;
        }

        public void setPositionTime(String positionTime) {
            this.positionTime = positionTime;
        }
    }
}
